package com.yunxi.dao.sto;

import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.sto.StoStorageStaff;
import com.yunxi.sto.pojo.StoStorageStaffUserVO;
import com.yunxi.sto.pojo.StoStorageStaffVO;
import com.yunxi.sto.pojo.StoStorageStaffWorkVO;

import java.util.List;

/**
 * <p>
 * 仓储人员 Mapper 接口
 * </p>
 *
 * @author caoYong
 * @since 2019-06-06
 */
public interface StoStorageStaffMapper extends BaseMapperPlus<StoStorageStaff> {

    List<StoStorageStaffVO> staffList();

    String getUserIdByCode(String userCode);

    List<StoStorageStaffUserVO> getStaffList(StoStorageStaffUserVO stoStorageStaffUserVO);

    void updateUserStatus(StoStorageStaff stoStorageStaff);

    Integer queryWorkDay(StoStorageStaffWorkVO stoStorageStaffWorkVO);

    void delWorkDay(StoStorageStaffWorkVO stoStorageStaffWorkVO);
}
